package com.wrbug.mmkw

import android.content.Context
import com.tencent.mmkv.MMKV
import com.wrbug.mmkw.runtime.InnerMMKW

object MMKW {
    fun init(context: Context) {
        MMKV.initialize(context.applicationContext)
    }

    fun <T> get(clazz: Class<T>):T? = InnerMMKW.get(clazz)
}